package com.ryhx.pay.channel.app.paybank.dao;// 包名所在行

import java.util.List;
import java.util.Map;

import com.ryhx.pay.channel.app.model.PayBank;//model名引入所在行
import com.ryhx.pay.common.exceptions.BizException;//Exception名引入所在行

public interface PayBankDao{
    PayBank getPayBank(Map<String, Object> query) throws BizException;
    List<PayBank> getPayBankList(Map<String, Object> query) throws BizException;
    Integer getPayBankListCount(Map<String, Object> query) throws BizException;
    Long  insertPayBank(PayBank payBank) throws BizException;
    Long  replacePayBank(PayBank payBank) throws BizException;
    int batchInsertPayBank(List<PayBank> list) throws BizException;
    int batchReplacePayBank(List<PayBank> list) throws BizException;
    int batchUpdatePayBank(List<PayBank> list) throws BizException;
    int updatePayBank(PayBank payBank) throws BizException;
    int updatePayBankWithoutNull(PayBank payBank) throws BizException;
    int updatePayBankByWhereSql(Map<String,Object> payBank) throws BizException;
    int truncatePayBank() throws BizException;
    int deletePayBank(Map<String, Object> query) throws BizException;
    int deletePayBankList(Map<String, Object> query) throws BizException;
    int deletePayBankByWhereSql(Map<String, Object> query) throws BizException;
    int batchDeletePayBank(List<Long> list) throws BizException;
    int batchDeletePayBankList(List<PayBank> payBankList) throws BizException;
}
